QT -= gui
QT += widgets

TEMPLATE = lib
DEFINES += GASCONTROLER_LIBRARY

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    controler.cpp \
    cortrolset.cpp \
    gascontorolport.cpp \
    gascontroler.cpp \
    pidfuc.cpp

HEADERS += \
    controler.h \
    cortrolset.h \
    gasControler_global.h \
    gascontorolport.h \
    gascontroler.h \
    pidfuc.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

FORMS += \
    controler.ui \
    cortrolset.ui \
    gascontorolport.ui


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/./libs/ -lm_snapClient
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/./libs/ -lm_snapClient
else:unix: LIBS += -L$$PWD/./ -lm_snapClient

INCLUDEPATH += $$PWD/libs
DEPENDPATH += $$PWD/libs
